package com.hx.voice.recognition.auth.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hx.voice.recognition.auth.server.entity.AuthClient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jack
 * @since 2019-06-13
 */
public interface AuthClientMapper extends BaseMapper<AuthClient> {

    /**
     * @description 根据应用ID获取被允许调用的应用
     * @method  getAllowedClient
     * @param  [id]
     * @return java.util.List<java.lang.String>
     * @date: 2019/6/14 15:19
     * @author:zhoujinbing
     */
    List<String> getAllowedClient(@Param("id") Integer id);
}
